package com.zmn.oms.third.tmall.dto;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 天猫订单状态定义
 *
 * @author xiewenbing
 * @date 2021/07/21
 */
@Data
public class TmallOrderStatus implements Serializable {

    /**
     * 天猫订单id
     */
    Long orderId;

    /**
     * 状态
     */
    Integer status;

    /**
     * 查询次数
     */
    Integer queryCount;

    public TmallOrderStatus(Long orderId) {
        this.orderId = orderId;
        this.status = 0;
        this.queryCount = 0;
    }

    public TmallOrderStatus(Long orderId, Integer status) {
        this.orderId = orderId;
        this.status = status;
        this.queryCount = 0;
    }
}
